<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>std.c.time</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "std.c.time";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/std.c.time.html" class="symbol">std.c.time</a></h1>
  
<div class="summary">C's &lt;time.h&gt;</div>
<p class="sec_header">Authors:</p>Walter Bright, Digital Mars, www.digitalmars.com
<p class="sec_header">License:</p>Public Domain
<dl>
<dt class="decl">alias int <a class="symbol _alias" name="clock_t" href="./htmlsrc/std.c.time.html#L16" kind="alias" beg="16" end="16">clock_t</a>; <a title="Permalink to this symbol" href="#clock_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L16">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">clock_t <a class="symbol _variable" name="CLOCKS_PER_SEC" href="./htmlsrc/std.c.time.html#L22" kind="variable" beg="22" end="22">CLOCKS_PER_SEC</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#CLOCKS_PER_SEC" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L22">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">int <a class="symbol _function" name="sysconf" href="./htmlsrc/std.c.time.html#L39" kind="function" beg="39" end="39">sysconf</a><span class="params">(int)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#sysconf" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L39">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">clock_t <a class="symbol _variable" name="CLK_TCK" href="./htmlsrc/std.c.time.html#L40" kind="variable" beg="40" end="40">CLK_TCK</a>; <span class="attrs">[<span class="stc">extern</span>]</span> <a title="Permalink to this symbol" href="#CLK_TCK" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L40">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uint <a class="symbol _variable" name="TIMEOFFSET" href="./htmlsrc/std.c.time.html#L51" kind="variable" beg="51" end="51">TIMEOFFSET</a>; <span class="attrs">[<span class="stc">const</span>, <span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#TIMEOFFSET" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L51">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias int <a class="symbol _alias" name="time_t" href="./htmlsrc/std.c.time.html#L53" kind="alias" beg="53" end="53">time_t</a>; <a title="Permalink to this symbol" href="#time_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L53">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">int <a class="symbol _variable" name="daylight" href="./htmlsrc/std.c.time.html#L55" kind="variable" beg="55" end="55">daylight</a>; <span class="attrs">[<span class="stc">extern</span>, <span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#daylight" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L55">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">int <a class="symbol _variable" name="timezone" href="./htmlsrc/std.c.time.html#L56" kind="variable" beg="56" end="56">timezone</a>; <span class="attrs">[<span class="stc">extern</span>, <span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#timezone" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L56">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">int <a class="symbol _variable" name="altzone" href="./htmlsrc/std.c.time.html#L57" kind="variable" beg="57" end="57">altzone</a>; <span class="attrs">[<span class="stc">extern</span>, <span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#altzone" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L57">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">char *tzname[2] <a class="symbol _variable" name="tzname" href="./htmlsrc/std.c.time.html#L58" kind="variable" beg="58" end="58">tzname</a>; <span class="attrs">[<span class="stc">extern</span>, <span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#tzname" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L58">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">struct <a class="symbol _struct" name="tm" href="./htmlsrc/std.c.time.html#L60" kind="struct" beg="60" end="70">tm</a>; <a title="Permalink to this symbol" href="#tm" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L60">#</a></dt>
<dd class="ddef">
<dl>
<dt class="decl">int <a class="symbol _variable" name="tm.tm_sec" href="./htmlsrc/std.c.time.html#L61" kind="variable" beg="61" end="69">tm_sec</a>; <a title="Permalink to this symbol" href="#tm.tm_sec" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L61">#</a></dt>
<dt class="decl">int <a class="symbol _variable" name="tm.tm_min" href="./htmlsrc/std.c.time.html#L61" kind="variable" beg="61" end="69">tm_min</a>; <a title="Permalink to this symbol" href="#tm.tm_min" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L61">#</a></dt>
<dt class="decl">int <a class="symbol _variable" name="tm.tm_hour" href="./htmlsrc/std.c.time.html#L61" kind="variable" beg="61" end="69">tm_hour</a>; <a title="Permalink to this symbol" href="#tm.tm_hour" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L61">#</a></dt>
<dt class="decl">int <a class="symbol _variable" name="tm.tm_mday" href="./htmlsrc/std.c.time.html#L61" kind="variable" beg="61" end="69">tm_mday</a>; <a title="Permalink to this symbol" href="#tm.tm_mday" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L61">#</a></dt>
<dt class="decl">int <a class="symbol _variable" name="tm.tm_mon" href="./htmlsrc/std.c.time.html#L61" kind="variable" beg="61" end="69">tm_mon</a>; <a title="Permalink to this symbol" href="#tm.tm_mon" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L61">#</a></dt>
<dt class="decl">int <a class="symbol _variable" name="tm.tm_year" href="./htmlsrc/std.c.time.html#L61" kind="variable" beg="61" end="69">tm_year</a>; <a title="Permalink to this symbol" href="#tm.tm_year" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L61">#</a></dt>
<dt class="decl">int <a class="symbol _variable" name="tm.tm_wday" href="./htmlsrc/std.c.time.html#L61" kind="variable" beg="61" end="69">tm_wday</a>; <a title="Permalink to this symbol" href="#tm.tm_wday" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L61">#</a></dt>
<dt class="decl">int <a class="symbol _variable" name="tm.tm_yday" href="./htmlsrc/std.c.time.html#L61" kind="variable" beg="61" end="69">tm_yday</a>; <a title="Permalink to this symbol" href="#tm.tm_yday" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L61">#</a></dt>
<dt class="decl">int <a class="symbol _variable" name="tm.tm_isdst" href="./htmlsrc/std.c.time.html#L61" kind="variable" beg="61" end="69">tm_isdst</a>; <a title="Permalink to this symbol" href="#tm.tm_isdst" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L61">#</a></dt>
<dd class="ddef"></dd></dl></dd>
<dt class="decl">clock_t <a class="symbol _function" name="clock" href="./htmlsrc/std.c.time.html#L72" kind="function" beg="72" end="72">clock</a><span class="params">()</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#clock" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L72">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">time_t <a class="symbol _function" name="time" href="./htmlsrc/std.c.time.html#L73" kind="function" beg="73" end="73">time</a><span class="params">(time_t *)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#time" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L73">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">time_t <a class="symbol _function" name="mktime" href="./htmlsrc/std.c.time.html#L74" kind="function" beg="74" end="74">mktime</a><span class="params">(tm *)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#mktime" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L74">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">char * <a class="symbol _function" name="asctime" href="./htmlsrc/std.c.time.html#L75" kind="function" beg="75" end="75">asctime</a><span class="params">(tm *)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#asctime" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L75">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">char * <a class="symbol _function" name="ctime" href="./htmlsrc/std.c.time.html#L76" kind="function" beg="76" end="76">ctime</a><span class="params">(time_t *)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#ctime" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L76">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">tm * <a class="symbol _function" name="localtime" href="./htmlsrc/std.c.time.html#L77" kind="function" beg="77" end="77">localtime</a><span class="params">(time_t *)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#localtime" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L77">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">tm * <a class="symbol _function" name="gmtime" href="./htmlsrc/std.c.time.html#L78" kind="function" beg="78" end="78">gmtime</a><span class="params">(time_t *)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#gmtime" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L78">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">size_t <a class="symbol _function" name="strftime" href="./htmlsrc/std.c.time.html#L79" kind="function" beg="79" end="79">strftime</a><span class="params">(char *, size_t, char *, tm *)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#strftime" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L79">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">char * <a class="symbol _function" name="_strdate" href="./htmlsrc/std.c.time.html#L80" kind="function" beg="80" end="80">_strdate</a><span class="params">(char * <em>dstring</em>)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#_strdate" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L80">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">char * <a class="symbol _function" name="_strtime" href="./htmlsrc/std.c.time.html#L81" kind="function" beg="81" end="81">_strtime</a><span class="params">(char * <em>timestr</em>)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#_strtime" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L81">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">double <a class="symbol _function" name="difftime" href="./htmlsrc/std.c.time.html#L82" kind="function" beg="82" end="82">difftime</a><span class="params">(time_t <em>t1</em>, time_t <em>t2</em>)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#difftime" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L82">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="_tzset" href="./htmlsrc/std.c.time.html#L83" kind="function" beg="83" end="83">_tzset</a><span class="params">()</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#_tzset" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L83">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="tzset" href="./htmlsrc/std.c.time.html#L84" kind="function" beg="84" end="84">tzset</a><span class="params">()</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#tzset" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L84">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="sleep" href="./htmlsrc/std.c.time.html#L86" kind="function" beg="86" end="86">sleep</a><span class="params">(time_t)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#sleep" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L86">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="usleep" href="./htmlsrc/std.c.time.html#L87" kind="function" beg="87" end="87">usleep</a><span class="params">(uint)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#usleep" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L87">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="msleep" href="./htmlsrc/std.c.time.html#L88" kind="function" beg="88" end="88">msleep</a><span class="params">(uint)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#msleep" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L88">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">wchar_t * <a class="symbol _function" name="_wasctime" href="./htmlsrc/std.c.time.html#L90" kind="function" beg="90" end="90">_wasctime</a><span class="params">(tm *)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#_wasctime" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L90">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">wchar_t * <a class="symbol _function" name="_wctime" href="./htmlsrc/std.c.time.html#L91" kind="function" beg="91" end="91">_wctime</a><span class="params">(time_t *)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#_wctime" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L91">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">size_t <a class="symbol _function" name="wcsftime" href="./htmlsrc/std.c.time.html#L92" kind="function" beg="92" end="92">wcsftime</a><span class="params">(wchar_t *, size_t, wchar_t *, tm *)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#wcsftime" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L92">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">wchar_t * <a class="symbol _function" name="_wstrdate" href="./htmlsrc/std.c.time.html#L93" kind="function" beg="93" end="93">_wstrdate</a><span class="params">(wchar_t *)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#_wstrdate" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L93">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">wchar_t * <a class="symbol _function" name="_wstrtime" href="./htmlsrc/std.c.time.html#L94" kind="function" beg="94" end="94">_wstrtime</a><span class="params">(wchar_t *)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#_wstrtime" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.time.html#L94">#</a></dt>
<dd class="ddef"></dd></dl>
</div>
<div id="footer">
  <p>Copyright © 1999-2008 by Digital Mars ®, All Rights Reserved.</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 03:40:04 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>